package com.course.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FavoritePageVo {
    private List<CourseInfo> inboxList;  // 本次查询的消息列表
    private Long lastTimestamp;    // 本次查询最小时间戳
    private Long offset; // 下次查询需要的偏移量
    private Long total; // 收藏课程总数量

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class CourseInfo{
        private Long courseId;
        private String name;
        private String courseImage;
        private String teacherName;
        private Integer status;
        private Integer likes;
    }
}
